Categories

Versions

Generate Levenshtein Distance (Operator Toolbox)

Synopsis

This operator generates the Levenshtein distance between two nominal attributes. The Levenshtein distance is calculated as the number of changes needed to convert one string into the other. A common use case for using this metric is spell checking.

Input

  • exa (Data table)

    The input ExampleSet

Output

  • out (Data table)

    The resulting ExampleSet with the new distance.

  • ori (Data table)

    The original ExampleSet.

Parameters

  • first attribute for distance calculation The first attribute for distance calculation.
  • second attribute for distance calculation The second attribute for distance calculation.

Tutorial Processes

Generate Levenshtein Distance

This process creates example data and applies the Levenshtein distance on it.